
<?php $this->load->view('/admin/adminview_head');?>





<div id="content">

	<p>
	<?php 
	
	?>
	
	</p>

</div>






<script type="text/javascript">

jQuery(document).ready(ajaxRequest);





function ajaxRequest() {
	$.ajax({

		// settings
		url:		'/eclipseWP/RadicalBooking/pt/Admin/tmp',
		type:		'POST',		
		async:		true,		
		dataType:	"json",		
		
		// data to send
		data:					
		{
			field01: 			"val 01",	
			field02:			"val 02",
			field03:			"val 03",
			field04:			"val 04"
		},

		// data received
		success: 	function(data, textStatus, jqXHR) {
			
			// if data has some value ...
			if (data) {

				// do something with data ...
				console.log(data);
				return;
			}
			else { // 'data' is null or unudefined
				console.log("no data received");
			}
		},

		// data received ... but with errors 
		error:		function(jqXHR, textStatus, errorThrown) {	
			
		},
		
		// always do this ...
		complete: function(xhr, status) {
			
		}
	});





		
}

</script>





<?php $this->load->view('/admin/adminview_footer'); ?>
